package com.woniu.hospital.mapper;

import java.util.List;
import com.woniu.hospital.domain.SurgicalDesc;

/**
 * 手术详情表Mapper接口
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public interface SurgicalDescMapper 
{
    /**
     * 查询手术详情表
     * 
     * @param surgicalDescid 手术详情表主键
     * @return 手术详情表
     */
    public SurgicalDesc selectSurgicalDescBySurgicalDescid(Long surgicalDescid);

    /**
     * 查询手术详情表列表
     * 
     * @param surgicalDesc 手术详情表
     * @return 手术详情表集合
     */
    public List<SurgicalDesc> selectSurgicalDescList(SurgicalDesc surgicalDesc);

    /**
     * 新增手术详情表
     * 
     * @param surgicalDesc 手术详情表
     * @return 结果
     */
    public int insertSurgicalDesc(SurgicalDesc surgicalDesc);

    /**
     * 修改手术详情表
     * 
     * @param surgicalDesc 手术详情表
     * @return 结果
     */
    public int updateSurgicalDesc(SurgicalDesc surgicalDesc);

    /**
     * 删除手术详情表
     * 
     * @param surgicalDescid 手术详情表主键
     * @return 结果
     */
    public int deleteSurgicalDescBySurgicalDescid(Long surgicalDescid);

    /**
     * 批量删除手术详情表
     * 
     * @param surgicalDescids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSurgicalDescBySurgicalDescids(Long[] surgicalDescids);
}
